package com.peenongsaban.freelance.action;

import com.opensymphony.xwork2.ActionSupport;
import com.peenongsaban.freelance.model.ListServiceModel;
import com.peenongsaban.freelance.service.ListServiceService;

public class ListServiceAction extends ActionSupport{

private static final long serialVersionUID = 1L;
	
	ListServiceModel model = new ListServiceModel();
	
	public String showListServicePage(){
		//TODO Night ????????????????? Paging ???
		ListServiceService service = new ListServiceService();
		model = service.getListServiceByCondition(model);
		return SUCCESS;
	}

	public ListServiceModel getModel() {
		return model;
	}

	public void setModel(ListServiceModel model) {
		this.model = model;
	}
}
